package com.meitianhui.convenitenbuy.module.wallet.model;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.HashMap;

/**
 * 商店详情
 * Created by liuwy on 2016/1/22.
 */
public class StoreInfoBean implements Parcelable{
    public HashMap<String, String> doc_url;
    public StoreDetailBean detail;

    public HashMap<String, String> getDoc_url() {
        return doc_url;
    }

    public void setDoc_url(HashMap<String, String> doc_url) {
        this.doc_url = doc_url;
    }

    public StoreDetailBean getDetail() {
        return detail;
    }

    public void setDetail(StoreDetailBean detail) {
        this.detail = detail;
    }

    public static class StoreDetailBean implements Parcelable{
        /**
         * activity_pic_info : [{"path_id":"dcf38b1267ad4171b09632823c2204dc","title":"露露阿拉蕾"},{"path_id":"737f537185b74e9dba9cdc19d2a69159","title":"阿卡丽阿拉蕾阿卡丽阿拉蕾阿卡丽阿拉蕾阿卡丽阿拉蕾阿卡丽阿拉蕾"},{"path_id":"e74b57ea76f242488daa8531862f80fe","title":"阿卡丽阿拉蕾阿卡丽阿拉蕾阿卡丽阿拉蕾阿卡丽阿拉蕾"},{"path_id":"b0f8120fbf28417ca46075670c605d85","title":"阿拉蕾阿卡丽"},{"path_id":"a850c0fe26ee473198dbb24b6c57b532","title":"哦哟哟"}]
         * activity_posters :
         * activity_servcie : [1,2,3,6,7,8,9,11,12,14]
         * address : 广东省深圳市福田区车公庙泰然工贸园泰然工贸园泰然工贸园车公庙泰然工贸园泰然工贸园泰然工贸园车公庙泰然工贸园泰然工贸园泰然工贸园
         * area_desc : 中国,广东省,深圳市,福田区
         * area_id : 440304
         * business_type_key : MDLX_01
         * contact_person : 若希
         * contact_tel : 13632526706
         * deliveried_scope :
         * desc1 : 泰然工贸园泰然工贸园泰然工贸园泰然工贸园泰然工贸园泰然工贸园泰然工贸园泰然工贸园泰然工贸园泰然工贸园泰然工贸园泰然工贸园泰然工贸园泰然工贸园
         * favorite_flag : Y
         * label :
         * latitude : 22.5399280
         * logo_pic_path :
         * longitude : 114.0350630
         * neighbor_pic_path : d80f47ddef0440a99d4baf00db81d532
         * opening_time :
         * over_amount : 0.00
         * stores_name : 若希便利店广东省深圳市福田区车公庙泰然工茂园工茂园
         * stores_no : mth2016060111372659
         * stores_thumbnail_path : [{"path_id":"8e1ae68fec3f4ed88520c23b1d86a7dd"},{"path_id":"1e0dd55dc84549e991e1a1f658549879"},{"path_id":"71aaa75b9c094cdbbde29e58f4510a62"},{"path_id":"1e5c1ada4c9b4b5f953afeb02a13d7c5"}]
         * stores_type_key : HYLX_03
         */

        public String activity_pic_info;
        public String activity_posters;
        public String activity_servcie;
        public String address;
        public String area_desc;
        public String area_id;
        public String business_type_key = "";
        public String contact_person;
        public String deliveried_range;
        public String desc1 = "";
        public String favorite_flag = "";
        public String label;
        public String latitude;
        public String logo_pic_path;
        public String longitude;
        public String neighbor_pic_path;
        public String opening_time;
        public String over_amount;
        public String stores_name;
        public String stores_no;
        public String stores_thumbnail_path = "";
        public String stores_type_key = "";
        public String service_tel;

        public String getService_tel() {
            return service_tel;
        }

        public void setService_tel(String service_tel) {
            this.service_tel = service_tel;
        }

        public String getActivity_pic_info() {
            return activity_pic_info;
        }

        public void setActivity_pic_info(String activity_pic_info) {
            this.activity_pic_info = activity_pic_info;
        }

        public String getActivity_posters() {
            return activity_posters;
        }

        public void setActivity_posters(String activity_posters) {
            this.activity_posters = activity_posters;
        }

        public String getActivity_servcie() {
            return activity_servcie;
        }

        public void setActivity_servcie(String activity_servcie) {
            this.activity_servcie = activity_servcie;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getArea_desc() {
            return area_desc;
        }

        public void setArea_desc(String area_desc) {
            this.area_desc = area_desc;
        }

        public String getArea_id() {
            return area_id;
        }

        public void setArea_id(String area_id) {
            this.area_id = area_id;
        }

        public String getBusiness_type_key() {
            return business_type_key;
        }

        public void setBusiness_type_key(String business_type_key) {
            this.business_type_key = business_type_key;
        }

        public String getContact_person() {
            return contact_person;
        }

        public void setContact_person(String contact_person) {
            this.contact_person = contact_person;
        }


        public String getDeliveried_scope() {
            return deliveried_range;
        }

        public void setDeliveried_scope(String deliveried_scope) {
            this.deliveried_range = deliveried_scope;
        }

        public String getDesc1() {
            return desc1;
        }

        public void setDesc1(String desc1) {
            this.desc1 = desc1;
        }

        public String getFavorite_flag() {
            return favorite_flag;
        }

        public void setFavorite_flag(String favorite_flag) {
            this.favorite_flag = favorite_flag;
        }

        public String getLabel() {
            return label;
        }

        public void setLabel(String label) {
            this.label = label;
        }

        public String getLatitude() {
            return latitude;
        }

        public void setLatitude(String latitude) {
            this.latitude = latitude;
        }

        public String getLogo_pic_path() {
            return logo_pic_path;
        }

        public void setLogo_pic_path(String logo_pic_path) {
            this.logo_pic_path = logo_pic_path;
        }

        public String getLongitude() {
            return longitude;
        }

        public void setLongitude(String longitude) {
            this.longitude = longitude;
        }

        public String getNeighbor_pic_path() {
            return neighbor_pic_path;
        }

        public void setNeighbor_pic_path(String neighbor_pic_path) {
            this.neighbor_pic_path = neighbor_pic_path;
        }

        public String getOpening_time() {
            return opening_time;
        }

        public void setOpening_time(String opening_time) {
            this.opening_time = opening_time;
        }

        public String getOver_amount() {
            return over_amount;
        }

        public void setOver_amount(String over_amount) {
            this.over_amount = over_amount;
        }

        public String getStores_name() {
            return stores_name;
        }

        public void setStores_name(String stores_name) {
            this.stores_name = stores_name;
        }

        public String getStores_no() {
            return stores_no;
        }

        public void setStores_no(String stores_no) {
            this.stores_no = stores_no;
        }

        public String getStores_thumbnail_path() {
            return stores_thumbnail_path;
        }

        public void setStores_thumbnail_path(String stores_thumbnail_path) {
            this.stores_thumbnail_path = stores_thumbnail_path;
        }

        public String getStores_type_key() {
            return stores_type_key;
        }

        public void setStores_type_key(String stores_type_key) {
            this.stores_type_key = stores_type_key;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeString(this.activity_pic_info);
            dest.writeString(this.activity_posters);
            dest.writeString(this.activity_servcie);
            dest.writeString(this.address);
            dest.writeString(this.area_desc);
            dest.writeString(this.area_id);
            dest.writeString(this.business_type_key);
            dest.writeString(this.contact_person);
            dest.writeString(this.deliveried_range);
            dest.writeString(this.desc1);
            dest.writeString(this.favorite_flag);
            dest.writeString(this.label);
            dest.writeString(this.latitude);
            dest.writeString(this.logo_pic_path);
            dest.writeString(this.longitude);
            dest.writeString(this.neighbor_pic_path);
            dest.writeString(this.opening_time);
            dest.writeString(this.over_amount);
            dest.writeString(this.stores_name);
            dest.writeString(this.stores_no);
            dest.writeString(this.stores_thumbnail_path);
            dest.writeString(this.stores_type_key);
            dest.writeString(this.service_tel);
        }

        public StoreDetailBean() {
        }

        protected StoreDetailBean(Parcel in) {
            this.activity_pic_info = in.readString();
            this.activity_posters = in.readString();
            this.activity_servcie = in.readString();
            this.address = in.readString();
            this.area_desc = in.readString();
            this.area_id = in.readString();
            this.business_type_key = in.readString();
            this.contact_person = in.readString();
            this.deliveried_range = in.readString();
            this.desc1 = in.readString();
            this.favorite_flag = in.readString();
            this.label = in.readString();
            this.latitude = in.readString();
            this.logo_pic_path = in.readString();
            this.longitude = in.readString();
            this.neighbor_pic_path = in.readString();
            this.opening_time = in.readString();
            this.over_amount = in.readString();
            this.stores_name = in.readString();
            this.stores_no = in.readString();
            this.stores_thumbnail_path = in.readString();
            this.stores_type_key = in.readString();
            this.service_tel = in.readString();
        }

        public static final Creator<StoreDetailBean> CREATOR = new Creator<StoreDetailBean>() {
            @Override
            public StoreDetailBean createFromParcel(Parcel source) {
                return new StoreDetailBean(source);
            }

            @Override
            public StoreDetailBean[] newArray(int size) {
                return new StoreDetailBean[size];
            }
        };
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeSerializable(this.doc_url);
        dest.writeParcelable(this.detail, flags);
    }

    public StoreInfoBean() {
    }

    protected StoreInfoBean(Parcel in) {
        this.doc_url = (HashMap<String, String>) in.readSerializable();
        this.detail = in.readParcelable(StoreDetailBean.class.getClassLoader());
    }

    public static final Creator<StoreInfoBean> CREATOR = new Creator<StoreInfoBean>() {
        @Override
        public StoreInfoBean createFromParcel(Parcel source) {
            return new StoreInfoBean(source);
        }

        @Override
        public StoreInfoBean[] newArray(int size) {
            return new StoreInfoBean[size];
        }
    };
}
